package com.xhblogs.book.mapper;

import com.xhblogs.book.pojo.Admin;
import com.xhblogs.book.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Mapper
@Repository
public interface LoginMapper {
    /**
     * 登录是否成功
     * @return List
     */

   Admin isAdminLogin(@Param("name") String admin_name, @Param("pwd") String admin_pwd);
   User isUserLogin(@Param("name") String user_name, @Param("pwd") String user_pwd);

}
